<?php
/**
 * 海外仓-谷仓(产品库存)（海外仓库存同步至erp代发库存）
 */

namespace App\Console\Commands\Rakuten\GuCang;


use App\Logic\Plat\Rakuten\Overseas\GuCang\InboundOrder\OverseasInboundOrder;
use App\Logic\Plat\Rakuten\Overseas\GuCang\Inventory\OverSeasInventory;
use Illuminate\Console\Command;

class SyncProductInventory extends Command
{

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'gucang:get_product_inventory';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'exe func';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        OverSeasInventory::getProductInventory();
        $this->info('finish!');
    }

}
